package com.ryskoo.common.dto.stock;

import com.ryskoo.common.constant.StockIAOTypeConstant;
import com.ryskoo.common.dto.BasicDTO;

import java.util.List;

/**
 * 入库单DTO
 * @author qyc
 *
 */
public class StockInDTO extends BasicDTO{

	private static final long serialVersionUID = 1L;
	
	/* 入库单号 */
	private String stockInNo;
	
	/* 入库时间 */
	private String stockInTime;

	/* 入库仓库 */
	private String warehouseId;

	/* 入库类型，采购入库、退货入库、盘盈入库、其他入库 */
	private String stockInType;

	/* 经办人 */
	private String operMan;

	/* 审核状态 */
	private String auditStatus;

	/* 审核人 */
	private String auditMan;

	/* 审核时间 */
	private String auditTime;

	/* 备注 */
	private String stockInNote;

	/*入库类型页面展现*/
	private String stockInTypeName;
	
	/* 所属商户 */
	private String vendorUuid;
	
	/* 审核说明 */
	private String auditNote;
	
	/* 仓库名称 */
	private String warehouseName;
	
	/* 出入库明细*/
	private List<StockIAODetailDTO> stockIAODetails;
	
	public String getStockInNo() {
		return stockInNo;
	}

	public void setStockInNo(String stockInNo) {
		this.stockInNo = stockInNo;
	}

	public String getStockInTime() {
		return stockInTime;
	}

	public void setStockInTime(String stockInTime) {
		this.stockInTime = stockInTime;
	}

	public String getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(String warehouseId) {
		this.warehouseId = warehouseId;
	}

	public String getStockInType() {
		return stockInType;
	}

	public void setStockInType(String stockInType) {
		this.stockInType = stockInType;
	}

	public String getOperMan() {
		return operMan;
	}

	public void setOperMan(String operMan) {
		this.operMan = operMan;
	}

	public String getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}

	public String getAuditMan() {
		return auditMan;
	}

	public void setAuditMan(String auditMan) {
		this.auditMan = auditMan;
	}

	public String getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(String auditTime) {
		this.auditTime = auditTime;
	}

	public String getStockInNote() {
		return stockInNote;
	}

	public void setStockInNote(String stockInNote) {
		this.stockInNote = stockInNote;
	}

	public String getStockInTypeName() {
		return StockIAOTypeConstant.stockInTypeMap.get(this.stockInType);
	}

	public void setStockInTypeName(String stockInTypeName) {
		this.stockInTypeName = stockInTypeName;
	}

	public String getVendorUuid() {
		return vendorUuid;
	}

	public void setVendorUuid(String vendorUuid) {
		this.vendorUuid = vendorUuid;
	}

	public String getAuditNote() {
		return auditNote;
	}

	public void setAuditNote(String auditNote) {
		this.auditNote = auditNote;
	}

	public String getWarehouseName() {
		return warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	public List<StockIAODetailDTO> getStockIAODetails() {
		return stockIAODetails;
	}

	public void setStockIAODetails(List<StockIAODetailDTO> stockIAODetails) {
		this.stockIAODetails = stockIAODetails;
	}
	
	

}
